<?php
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
?>
<!doctype html>
<html lang="zh-CN">
<head>
    <?php $this->need('layout/header.php'); ?>
</head>
<body class="user-select single">
<!-- 导航条 -->
<?php $this->need('layout/nav.php'); ?>
<section class="container">
    <div class="content-wrap">
        <div class="content">
            <header class="article-header">
                <h1 class="article-title">
                    <a href="<?php $this->permalink() ?>"
                        title="<?php $this->title() ?>">
                        <?php $this->title() ?>
                    </a>
                </h1>
                <div class="article-meta">
                    <span class="item article-meta-time">
                        <time class="time" data-toggle="tooltip" data-placement="bottom" title=""
                            data-original-title="发表时间：<?php $this->date() ?>">
                            <i class="glyphicon glyphicon-time"></i>
                            <?php $this->date() ?>
                        </time>
                    </span>
                    <span class="item article-meta-source" data-toggle="tooltip" data-placement="bottom"
                        title="" data-original-title="作者：<?php $this->author() ?>">
                        <i class="glyphicon glyphicon-user"></i>
                        <?php $this->author() ?>
                    </span>
                    <span class="item article-meta-category" data-toggle="tooltip" data-placement="bottom"
                        title="" data-original-title="分类：<?php $this->category(',', false) ?>">
                        <i class="glyphicon glyphicon-list"></i>
                        <?php $this->category(',') ?>
                    </span>
                    <!--<span class="item article-meta-views"-->
                    <!--    data-toggle="tooltip" data-placement="bottom" title="" data-original-title="浏览量：219">-->
                    <!--    <i class="glyphicon glyphicon-eye-open"></i> 219-->
                    <!--</span>-->
                    <span class="item article-meta-comment"
                        data-toggle="tooltip" data-placement="bottom" title="" data-original-title="评论量">
                        <i class="glyphicon glyphicon-comment"></i>
                        <?php $this->commentsNum() ?>
                    </span>
                </div>

                <!-- 文章的标签 -->
                <div class="article-tags">
                    标签： <?php $this->tags('', true, 'none'); ?>
                </div>
            </header>

            <article class="article-content">
                <?php $this->content('Continue Reading...'); ?>
            </article>

            <!-- 分享功能 TODO -->
            <?php // $this->need('post/share.php') ?>

            <!-- 文章的版权声明 -->
            <?php  $this->need('post/post-copyright.php') ?>

            <!-- 打赏 -->
            <?php  $this->need('post/reward.php') ?>

            <!-- 评论 -->
            <?php  $this->need('post/comment.php') ?>
        </div>
    </div>
    <!-- 侧边栏 -->
    <?php $this->need('sidebar/index.php'); ?>
</section>
<?php $this->need('layout/footer.php'); ?>
</body>
</html>

